module.exports = async function () {
    let buf = new Buffer();
    var crc16 = crc16_modbus(CRCBuffer, len - 2);
    CRCBuffer[len - 1] = ((crc16 >> 8) & 0xff);
    CRCBuffer[len - 2] = (crc16 & 0xff);
    // CRC校验数据
    if (Buffer.compare(payloadBuffer, CRCBuffer) === 0) {
        result["code"] = 1;
    }
    return result;
}